﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: DownloadErrorLogEntity.cs
// 修改时间：2020-9-8 10:40:02
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：DownloadErrorLog 的实体类.
	/// </summary>
	[Table("DownloadErrorLog")]
	public partial class DownloadErrorLogEntity
	{
		#region Properties
		private int? _errorID = 0;
		/// <summary>
		/// 错误ID(主键)
		/// </summary>
		[Column("ErrorID",TypeName="int")]
		[Key]
		public int? ErrorID
		{
			get {return _errorID;}
			set {_errorID = value;}
		}
		
		private int? _infoID = 0;
		/// <summary>
		/// 错误信息ID
		/// </summary>
		[Column("InfoID",TypeName="int")]
		public int? InfoID
		{
			get {return _infoID;}
			set {_infoID = value;}
		}
		
		private System.String _errorUrl = string.Empty;
		/// <summary>
		/// 用$$$分割的错误下载地址序号
		/// </summary>
		[Column("ErrorUrl",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ErrorUrl
		{
			get {return _errorUrl;}
			set {_errorUrl = value;}
		}
		
		private int? _errorTimes = 0;
		/// <summary>
		/// 报错次数
		/// </summary>
		[Column("ErrorTimes",TypeName="int")]
		public int? ErrorTimes
		{
			get {return _errorTimes;}
			set {_errorTimes = value;}
		}
		
		private DateTime? _errorDate = null;
		/// <summary>
		/// 报错日期
		/// </summary>
		[Column("ErrorDate",TypeName="datetime")]
		public DateTime? ErrorDate
		{
			get {return _errorDate;}
			set {_errorDate = value;}
		}
		
		#endregion
	}
}
